<template>
	<view class="login_bg">
		<view class="bg_img"></view>
		<view class="submit_btn" @click="sumbitBtn()"><text class="submit_btn_text">立即申请</text></view>
		<invi-Code v-if="showInviCode"></invi-Code>
		<loading :shall-we-talk="coverShow"></loading>
	</view>
</template>

<script>
// import Bus from '../bus';
import inviCode from '../../components/invitationCode';
// import { loginApi } from '@/Api/index';
// import { mapMutations } from 'vuex';
export default {
	data() {
		return {
			showInviCode:true,
			coverShow:true,
		};
	},
	components: {
		inviCode
	},
	mounted() {},
	beforeRouteLeave: (to, from, next) => {},
	methods: {
		sumbitBtn(){
			alert("12345")
			//show
		}
	}
};
</script>

<style lang="scss" scoped>
.login_bg {
	width: 100vw;
	.bg_img {
		width: 750upx;
		height: 1297upx;
		background: url('../../static/image/driving_project@2x.png') no-repeat;
		background-size: 100% 100%;
	}
	.submit_btn {
		background: #f6ab00;
		text-align: center;
		// padding: 0 20upx 10upx 20upx;
		margin: 20upx;
		.submit_btn_text {
			font-size: 32upx;
			color: #fff;
			width: 100%;
			height: 88upx;
			line-height: 88upx;
		}
	}
}
</style>
